<template>
  <div>
    <FormPanel ref="from" :list="formList" @formChange="changeHandle" :isSubmitBtn="false" :collapse="false" labelWidth="110" />



    <div style="height:47px;"></div>
    <div
      :style="{
        position: 'absolute',
        left: 0,
        bottom: 0,
        right: 0,
        zIndex: 9,
        borderTop: '1px solid #e9e9e9',
        padding: '10px 20px',
        background: '#fff',
        textAlign: 'right'
      }"
    >
      <el-button @click="closeDrawer(1)">关 闭</el-button>
      <el-button @click="closeDrawer(2)" type="primary">确 定</el-button>
    </div>
  </div>
</template>
<script>
export default {
  data(){
    return{
      formList:this.createdFrom(),
    }
  },
  components: {

  },
  methods:{
    createdFrom(){
      return [
        {
          type: 'TEXT_AREA',
          label: '审批意见',
          fieldName: 'spyj',
          placeholder: '请输入',
          disabled:true,
          selfCols:3,
          rules: [{ required: true, message: '请输入', trigger: 'blur' }],
        },

      ]
    },



    seacherFun(type){

    },
    changeHandle(val){

    },
    closeDrawer(type){

    },

  }
}
</script>
